package cn.kilo.domain.support;

import com.wechat.pay.contrib.apache.httpclient.constant.WechatPayHttpHeaders;

import java.time.Instant;
import java.time.temporal.ChronoUnit;

/**
 * @author kilok
 */
public class TimeUtil {

    public static String getDayTime(){

        return String.valueOf(Instant.now().truncatedTo(ChronoUnit.DAYS)).substring(0,10);
    }
}
